/*
 * @Descripttion: 
 * @version: 
 * @Author: turingchang
 * @Date: 2020-08-22 16:18:21
 * @LastEditors: turingchang
 * @LastEditTime: 2020-09-03 22:20:02
 */


module.exports = app => {
    const { router, controller } = app;
    const jsonp = app.jsonp();
    //router.get('/', jsonp,controller.test.test);
    router.get('/', jsonp,controller.test.test);
    router.get('/test', jsonp,controller.test.test);
    // router.get('/user', controller.user.list);
    // router.get('/user/list', controller.user.list);
    // router.get('/user/get', controller.user.get);
    // router.post('/user/create', controller.user.create);

    // router.get('/admin', controller.admin.admin.list);
    // router.post('/admin', controller.admin.admin.create);
    // router.get('/admin/:id', controller.admin.admin.detail);
    // router.post('/admin/:id', controller.admin.admin.update);
    // router.delete('/admin/:id', controller.admin.admin.delete);
    // router.get('/admin/list', controller.admin.admin.list);  

    // router.get('/role', controller.admin.role.list);
    // router.get('/role/get', controller.admin.role.get);

    
    // router.get('/news', controller.news.list);
    // router.get('/news/:id', controller.home.index);
    // router.get('/mmm', controller.te.mo.index);
};